home *** CD-ROM | disk | FTP | other *** search
/ Aminet 16 / Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso / Aminet / dev / src / wangisrc.lha / wangi / z / wpad_library / wpad_protos.h < prev    next >
C/C++ Source or Header  |  1995-08-24  |  1KB  |  44 lines

  1. #ifndef CLIB_WPAD_PROTOS_H
  2. #define CLIB_WPAD_PROTOS_H
  3.  
  4. /***************************************************************************
  5.  * wpad_protos.h
  6.  *
  7.  * wpad.library, Copyright ©1995 Lee Kindness.
  8.  *
  9.  * 
  10.  */
  11.  
  12. #ifdef LIB_CODE
  13. #define REG(x)    register __ ## x
  14. #define LIBENT    __asm __saveds
  15. #else
  16. #define SHARED_LIB 1
  17. #define REG(x)
  18. #define LIBENT
  19. #endif
  20.  
  21. #ifndef EXEC_TYPES_H
  22. #include <exec/types.h>
  23. #endif
  24. #ifndef LIBRARIES_WPAD_H
  25. #include <libraries/wpad.h>
  26. #endif
  27. #ifndef UTILITY_TAGITEM_H
  28. #include <utility/tagitem.h>
  29. #endif
  30.  
  31. struct Pad LIBENT *WP_OpenPadA( REG(a0) struct TagItem *tags );
  32. struct Pad *WP_OpenPad( Tag tag1, ... ); 
  33. VOID LIBENT WP_ClosePadA( REG(a0) struct Pad *pad, REG(a1) struct TagItem *tags );
  34. VOID WP_ClosePad( struct Pad *pad, Tag tag1, ... );
  35. VOID LIBENT WP_SetPadAttrsA( REG(a0) struct Pad *pad, REG(a1) struct TagItem *tags);
  36. VOID WP_SetPadAttrs( struct Pad *pad, Tag tag1, ... );
  37. LONG LIBENT WP_GetPadAttrsA( REG(a0) struct Pad *pad, REG(a1) struct TagItem *tags);
  38. LONG WP_GetPadAttrs( struct Pad *pad, Tag tag1, ... );
  39. ULONG LIBENT WP_PadCount( VOID );
  40.  
  41.  
  42.  
  43.  
  44.